package com.ylzinfo.ms.qycloud.utils;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Product: IntelliJ IDEA
 * @Author Rogchen rogchen128@gmail.com
 * @Created Date: 2019/3/27 10:01
 **/
@Data
public class PageDto<T> implements Serializable {

    private int total;

    private List<T> list;

    private int curragePage;

    private int limit;

    public PageDto(int curragePage, int limit) {
        this.curragePage = curragePage;
        this.limit = limit;
    }
}
